package com.competition.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "equipment_leasing")
public class EquipmentLeasing {

    @Id
    @Column(name = "equipment_id")
    private String equipmentId;

    @Column(name = "equipment_name")
    private String equipmentName;

    @Column(name = "equipment_inventory")
    private Integer equipmentInventory;

    @Column(name = "equipment_type")
    private String equipmentType;

    @Column(name = "equipment_price")
    private BigDecimal equipmentPrice;

    @Column(name = "equipment_detail")
    private String equipmentDetail;

    @Column(name = "equipment_audit")
    private Integer equipmentAudit;

    @Column(name = "equipment_imgurl")
    private String equipmentImgurl;
}
